// 订单页请求
import request from '@/utils/http'

// 获取-订单(结算页)
const getCheckInfo = () => {
  return request({
    url: '/member/order/pre'
  })
}

// 创建订单
const createOrder = (data) => {
  return request({
    url: '/member/order',
    method: 'post',
    data
  })
}

export { getCheckInfo, createOrder }
